package com.queming.core.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author chencidiao
 * @date 2022/05/04 13:39
 **/
@Data
public class FileUploadRequest {

    private String name;

    private Long size;

    @NotBlank(message = "后缀名不为空")
    private String ext;

    @NotBlank(message = "key不为空")
    private String key;
}
